package com.k136.config.filter;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import javax.servlet.*;
import javax.servlet.annotation.*;
import java.io.IOException;

/**
 * TODO Filter
 *
 * @author LiuTai
 * @version 1.00
 * @Date 2024/9/2
 */
@Component
@Order(1)
public class myFilter implements Filter {
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException {
        System.out.println("~~~~~~~~~~~~~");
        chain.doFilter(request, response);
    }
}
